<template>
  <div class="testMock">

  </div>
</template>

<script>
  import {requestUsers,requestGoods} from '../../../assets/util/mockApi';
  import axios from 'axios'
  export default {
    name: "test-mock",

    data() {
      return {}
    },
    methods:{

    },
    created:function () {
      requestUsers().then(data=>{
        // console.log(JSON.stringify(data.data.Users));
      });
      requestGoods().then(data=>{
        console.log(JSON.stringify(data));
      });
      // axios.get('/users', '')
      //   .then(function (response) {
      //    console.log(response);
      //   })
    }
  }
</script>

<style scoped>

  .testMock {
    width: 100%;
    height: 100%;
  }
</style>
